import { Entity, PrimaryGeneratedColumn, Column } from 'typeorm';

@Entity('member_group_apis')
export class MemberGroupApis {
  @PrimaryGeneratedColumn({
    name: 'id',
    type: 'int',
    comment: 'id',
  })
  id: number;

  @Column({
    name: 'group_id',
    type: 'int',
    default: 0,
    comment: '分组id',
  })
  groupId: number;

  @Column({
    name: 'api_id',
    type: 'int',
    default: 0,
    comment: '接口id',
  })
  apiId: number;
}